#ifndef _WORKER_
#define _WORKER_

#include <pthread.h>
#include <stdlib.h>   // for calloc
#include <unistd.h>

typedef struct tidArr_s {
    pthread_t * arr;
    int workerNum;
} tidArr_t;
int tidArrInit(tidArr_t * ptidArr, int workerNum);
void * threadFunc(void *arg);
#endif